<%-- 
    Document   : login
    Created on : Dec 18, 2011, 2:39:46 PM
    Author     : eugene
--%>

<%@ page language="java" contentType="text/html; charset=UTF-8"
         pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <title>Login</title>
    </head>
    <body>
        <div class="login-div">
            <div id="login-error">
                ${error}
            </div>

            <form class="form-horizontal" action="j_spring_security_check" id="logInForm" method="post" > 
                <fieldset>
                    <legend><h2>Log In</h2></legend>
                    <div class="control-group">
                        <label for="j_username" class="control-label">Login</label>
                        <div class="controls">
                            <input id="j_username" name="j_username" type="text">
                            <p class="help-block">Please, write your login or email here.</p>
                        </div>
                    </div>
                    <div class="control-group">
                        <label for="j_password" class="control-label">Password</label>
                        <div class="controls">
                            <input id="j_password" name="j_password" type="password">
                            <p class="help-block">Please, write your password here.</p>
                        </div>
                    </div>               
                    <div class="form-actions" style="margin-top: 10px;">
                        <button type="submit" class="btn btn-primary">Log In</button>
                    </div>
                </fieldset>
            </form>
        </div>
    </body>
</html>
